package com.ourteam.system.dao;


import org.apache.commons.lang.enums.Enum;



import java.util.Collection;
import java.util.HashMap;
import java.util.Map;

/**
*  SysResourceTypeIdEnum
*  GenDate Thu Sep 21 15:10:29 IRKT 2017  
*  @model
*  @author Auto Generate	
*/
public class SysResourceTypeIdEnum extends  Enum  {

        private String desc;

        
        protected SysResourceTypeIdEnum (String arg0,String aDesc) {
		super(arg0);
		desc = aDesc;
		enumValueMap.put(arg0,this);
	}
        
	public String getDesc() {
		return desc;
	}

         
          private static Map<String,SysResourceTypeIdEnum> enumValueMap = new HashMap<String,SysResourceTypeIdEnum>();
                 

        	
	public static SysResourceTypeIdEnum getEnum(String arg0){
		return (SysResourceTypeIdEnum)enumValueMap.get(arg0);
	}
        	
	public static Collection<SysResourceTypeIdEnum> getEnumList() {
		return enumValueMap.values();
	}

        	
	/**
	 * SYS_FUNCTION
	 * @model name="SYS_FUNCTION"
	 */
         
         public static final SysResourceTypeIdEnum SYS_FUNCTION = new SysResourceTypeIdEnum ("1","SYS_FUNCTION");
         
		
	/**
	 * SYS_ROLE
	 * @model name="SYS_ROLE"
	 */
         
         public static final SysResourceTypeIdEnum SYS_ROLE = new SysResourceTypeIdEnum ("2","SYS_ROLE");
         
		
	/**
	 * SYS_USER
	 * @model name="SYS_USER"
	 */
         
         public static final SysResourceTypeIdEnum SYS_USER = new SysResourceTypeIdEnum ("3","SYS_USER");
         
		
	/**
	 * MIDDLEWARE_DATABASE
	 * @model name="MIDDLEWARE_DATABASE"
	 */
         
         public static final SysResourceTypeIdEnum MIDDLEWARE_DATABASE = new SysResourceTypeIdEnum ("1000","MIDDLEWARE_DATABASE");
         
		
	/**
	 * MIDDLEWARE_APP_SERVER
	 * @model name="MIDDLEWARE_APP_SERVER"
	 */
         
         public static final SysResourceTypeIdEnum MIDDLEWARE_APP_SERVER = new SysResourceTypeIdEnum ("1010","MIDDLEWARE_APP_SERVER");
         
	
}